<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/25
 * Time: 14:20
 */
class Index extends MY_Controller
{
    public function __construct()
    {
        parent::__construct();
    }

    public function first()
    {
        $this->load->view('admin/index');
    }

    public function info()
    {
        $data = array(
            'os' => PHP_OS,
            'SERVER_SOFTWARE' => $_SERVER ['SERVER_SOFTWARE'],
            'sapi' => php_sapi_name(),
            'maxupload' => get_cfg_var ("upload_max_filesize"),
            'date' => date('Y-m-d  G:i:s')
        );
        $this->load->view('admin/info', $data);
    }
}